home *** CD-ROM | disk | FTP | other *** search
/ Clickx 47 / Clickx 47.iso / assets / software / Miro_Installer.exe / xulrunner / chrome / toolkit.jar / content / mozapps / extensions / update.xul < prev   
Encoding:
Extensible Markup Language  |  2005-07-25  |  6.2 KB  |  175 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  5. <?xml-stylesheet href="chrome://mozapps/content/extensions/update.css" type="text/css"?> 
  6. <?xml-stylesheet href="chrome://mozapps/skin/extensions/update.css" type="text/css"?> 
  7.  
  8. <!DOCTYPE wizard [
  9. <!ENTITY % updateDTD SYSTEM "chrome://mozapps/locale/extensions/update.dtd">
  10. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  11. %updateDTD;
  12. %brandDTD;
  13. ]>
  14.  
  15. <wizard id="updateWizard"
  16.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  17.         title="&updateWizard.title;"
  18.         windowtype="Update:Wizard"
  19.         onload="gUpdateWizard.init();"
  20.         onwizardfinish="gUpdateWizard.onWizardFinish();"
  21.         onclose="return gUpdateWizard.onWizardClose(event);"
  22.         style="width: 47em; min-height: 35em;"
  23.         buttons="accept,cancel">
  24.  
  25.   <script type="application/x-javascript" src="chrome://mozapps/content/extensions/update.js"/>
  26.   
  27.   <stringbundleset id="updateSet">
  28.     <stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>
  29.     <stringbundle id="updateStrings" src="chrome://mozapps/locale/extensions/update.properties"/>
  30.   </stringbundleset>
  31.   
  32.   <wizardpage id="dummy" pageid="dummy"/>
  33.   
  34.   <wizardpage id="versioninfo" pageid="versioninfo" next="mismatch"
  35.               label="&versioninfo.title;"
  36.               onpageshow="gVersionInfoPage.onPageShow();">
  37.     <progressmeter id="versioninfo.progress" mode="undetermined"/>
  38.     <hbox align="center">
  39.       <image id="versioninfo.throbber" class="throbber"/>
  40.       <label flex="1" crop="right">&versioninfo.intro;</label>
  41.     </hbox>
  42.     <separator/>
  43.   </wizardpage>
  44.  
  45.   <wizardpage id="mismatch" pageid="mismatch" next="checking"
  46.               label="&mismatch.title;"
  47.               onpageshow="gMismatchPage.onPageShow();">
  48.  
  49.     <label>&mismatch.intro1.label;</label>
  50.     
  51.     <separator class="thin"/>
  52.     
  53.     <listbox id="mismatch.incompatible" flex="1"/>
  54.     
  55.     <separator class="thin"/>
  56.     
  57.     <label style="font-weight: bold;">&mismatch.intro2.label;</label>
  58.     <separator class="thin"/>
  59.     
  60.     <label>&mismatch.intro3.label;</label>
  61.  
  62.   </wizardpage>
  63.   
  64.   <wizardpage id="checking" pageid="checking" next="noupdates"
  65.               label="&checking.title;"
  66.               onpageshow="gUpdatePage.onPageShow();">
  67.  
  68.     <label>&checking.intro.label;</label>
  69.     
  70.     <separator class="thin"/>
  71.     
  72.     <progressmeter id="checking.progress"/>
  73.     <hbox align="center">
  74.       <image id="checking.throbber" class="throbber"/>
  75.       <label id="checking.status" flex="1" crop="right">&checking.status;</label>
  76.     </hbox>
  77.     
  78.   </wizardpage>
  79.     
  80.   <wizardpage id="noupdates" pageid="noupdates"
  81.               label="&noupdates.title;"
  82.               onpageshow="gNoUpdatesPage.onPageShow();">
  83.     <label id="introUser">&noupdates.intro.user.label;</label>
  84.     <label id="introMismatch" hidden="true">&noupdates.intro.mismatch.label;</label>
  85.     <separator/>
  86.     <vbox id="mismatchNoUpdates" hidden="true">
  87.       <description id="mismatchIncompatibleRemaining" flex="1">
  88.         &noupdates.intro2.mismatch.label;
  89.       </description>
  90.       <description id="mismatchIncompatibleRemaining2" flex="1" hidden="true">
  91.         &noupdates.intro3.mismatch.label;
  92.       </description>
  93.       <separator class="thin"/>
  94.  
  95.       <vbox align="left">
  96.         <checkbox label="&noupdates.enableChecking.label;" 
  97.                   id="mismatchFinishedEnableChecking" hidden="true"
  98.                   oncommand="gUpdateWizard.shouldAutoCheck = this.checked;"/>
  99.       </vbox>
  100.     </vbox>
  101.     <hbox id="updateCheckErrorNotFound" hidden="true" align="center">
  102.       <description flex="1">
  103.         &updateCheckError.description;
  104.       </description>
  105.       <button label="&updateCheckError.label;" accesskey="&updateCheckError.accesskey;"
  106.               oncommand="gUpdateWizard.showUpdateCheckErrors();"/>
  107.     </hbox>
  108.  
  109.   </wizardpage>
  110.  
  111.   <wizardpage id="found" pageid="found" next="installing"
  112.               label="&found.title;"
  113.               onpageshow="gFoundPage.onPageShow();">
  114.  
  115.     <label>&found.intro.label;</label>
  116.     <separator class="thin"/>
  117.     <radiogroup type="update-types" id="found.updates" flex="1" _uninitialized="true"
  118.                 onselect="gFoundPage.onSelect(event);">
  119.       <radio type="update-type" id="addons" accesskey="&found.updatetype.addons.accesskey;" collapsed="true">
  120.         <description>&found.addons.label;</description>
  121.         <separator class="thin"/>        
  122.         <vbox id="found.addons.list"/>
  123.         <label>.</label>
  124.       </radio>
  125.     </radiogroup>
  126.     <separator class="thin"/>
  127.     <label id="foundInstructions"/>
  128.   </wizardpage>
  129.  
  130.   <wizardpage id="installing" pageid="installing" next="finished"
  131.               label="&installing.title;"
  132.               onpageshow="gInstallingPage.onPageShow();">
  133.     <label>&installing.intro.label;</label>
  134.     <progressmeter id="downloadProgress"/>
  135.     <hbox align="center">
  136.       <image id="installing.throbber" class="throbber"/>
  137.       <label id="actionItem" flex="1" crop="right"/>
  138.     </hbox>
  139.     <separator/>
  140.   </wizardpage>
  141.   
  142.   <wizardpage id="errors" pageid="errors"
  143.               label="&errors.title;"
  144.               align="right"
  145.               onpageshow="gErrorsPage.onPageShow();">
  146.     <label>&errors.intro.label;</label>
  147.     <separator/>
  148.     <button label="&errors.details.label;" accesskey="&errors.details.accesskey;"
  149.             oncommand="gErrorsPage.onShowErrors();"/>
  150.     <separator/>
  151.   </wizardpage>
  152.   
  153.   <wizardpage id="finished" pageid="finished"
  154.               label="&finished.title;"
  155.               onpageshow="gFinishedPage.onPageShow();">
  156.  
  157.     <label id="updated">&finished.updated.label;</label>
  158.     <separator/>
  159.     <hbox id="incompatibleAlert" align="top" hidden="true">
  160.       <image id="alert"/>
  161.       <description id="incompatibleRemaining" flex="1">&finished.remaining.label;</description>
  162.       <description id="incompatibleRemaining2" flex="1">&finished.remaining2.label;</description>
  163.     </hbox>
  164.     <vbox align="left">
  165.       <checkbox class="indent" label="&finished.enableChecking.label;" id="finishedEnableChecking"
  166.                 oncommand="gUpdateWizard.shouldAutoCheck = this.checked;"/>
  167.     </vbox>
  168.     <separator flex="1"/>
  169.     <label id="finishedMismatch" hidden="true">&finished.mismatch.label;</label>
  170.  
  171.   </wizardpage>
  172.   
  173. </wizard>
  174.  
  175.